Cypress Semiconductor /psoc63 /PROT /SMPU /MS0_CTL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as MS0_CTL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (P)P0 (NS)NS 0PRIO 0 (PC_MASK_0)PC_MASK_0 0PC_MASK_15_TO_1

Description

Master 0 protection context control

Fields

P

Privileged setting (‘0’: user mode; ‘1’: privileged mode).

Notes: This field is ONLY used for masters that do NOT provide their own user/privileged access control attribute. The default/reset field value provides privileged mode access capabilities.

NS

Security setting (‘0’: secure mode; ‘1’: non-secure mode).

Notes: This field is ONLY used for masters that do NOT provide their own secure/non-escure access control attribute. Note that the default/reset field value provides non-secure mode access capabilities to all masters.

PRIO

Device wide bus arbitration priority setting (‘0’: highest priority, ‘3’: lowest priority).

Notes: The AHB-Lite interconnect performs arbitration on the individual beats/transfers of a burst (this optimizes latency over locality/bandwidth). The AXI-Lite interconnects performs a single arbitration for the complete burst (this optimizes locality/bandwidth over latency). Masters with the same priority setting form a ‘priority group’. Within a ‘priority group’, roundrobin arbitration is performed.

PC_MASK_0

Protection context mask for protection context ‘0’. This field is a constant ‘0’:

  • PC_MASK_0 is ‘0’: MPU MS_CTL.PC[3:0] can NOT be set to ‘0’ and PC[3:0] is not changed. If the protection context of the write transfer is ‘0’, protection is not applied and PC[3:0] can be changed.
PC_MASK_15_TO_1

Protection context mask for protection contexts ‘15’ downto ‘1’. Bit PC_MASK_15_TO_1[i] indicates if the MPU MS_CTL.PC[3:0] protection context field can be set to the value ‘i+1’:

  • PC_MASK_15_TO_1[i] is ‘0’: MPU MS_CTL.PC[3:0] can NOT be set to ‘i+1’; and PC[3:0] is not changed. If the protection context of the write transfer is ‘0’, protection is not applied and PC[3:0] can be changed.
  • PC_MASK_15_TO_1[i] is ‘1’: MPU MS_CTL.PC[3:0] can be set to ‘i+1’.

Note: When CPUSS_CM0_PC_CTL.VALID[i] is ‘1’ (the associated protection context handler is valid), write transfers to PC_MASK_15_TO_1[i-1] always write ‘0’, regardless of data written. This ensures that when valid protection context handlers are used to enter protection contexts 1, 2 or 3 through (HW modifies MPU MS_CTL.PC[3:0] on entry of the handler), it is NOT possible for SW to enter those protection contexts (SW modifies MPU MS_CTL.PC[3:0]).

Links

() ()